//
//  WYPayMessageView.h
//  Boss
//
//  Created by admin on 2018/7/16.
//  Copyright © 2018年 admin. All rights reserved.
//

#import <UIKit/UIKit.h>

@class WYPayMessageView;
@protocol WYPayMessageViewDelegate <NSObject>
- (void)alertView:(WYPayMessageView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex;
- (void)alertViewWarnBtnClicked:(WYPayMessageView *)alertView;
- (BOOL)setTextFieldWithTextField:(UITextField *)textField range:(NSRange)range string:(NSString *)string;
@end



@interface WYPayMessageView : UIView
-(void)setAlertTitle:(NSString *)title
        attributeMsg:(NSString *)msg
           imageName:(NSString *)name
             btnTitles:(id)titles;
@property (nonatomic,weak)id<WYPayMessageViewDelegate>delegate;

@property (strong, nonatomic) IBOutlet UIView *whiteView;
@end
